﻿/* ==========================================================================
	 全站Nav导航
	 ========================================================================== */
/*展开菜单时禁止页面滚动*/
html.g-noscroll {
	overflow-y: scroll !important;
}
html.g-noscroll,
html.g-noscroll body {
	overflow: hidden !important;
	height: 100% !important
}
/*header*/
.g-header {
	width: 100%;
	height: 47px;
	border-bottom: 1px solid #ccc;
	background: #fff;
	z-index: 20;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
}
.g-header-logo {
	display: block;
	float: left;
	width: 80px;
	height: 40px;
	margin-left: 10px;
	margin-top: 2px;
}
.g-header-logo img {
	width: 100%;
	height: 100%;
}
/* 我的账户 */
.g-header-user {
	display: block;
	position: absolute;
	top: 0;
	right: 50px;
	width: 35px;/*增大点击区域*/
	padding-left: 13px;
	height: 48px;/*高度可以增大，为了防止误触，需要单独设置覆盖此规则*/
	line-height: 48px;
	z-index: 20;
	cursor: pointer;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}
.g-header-user-link,
.g-header-menu-link {
	color: #7D7C7C;
	-webkit-transition: color 0.5s;
	transition: color 0.5s;
	text-decoration: none !important;
}
.g-header-menu-link .iconfont {
	font-size: 1.3rem;
}
.g-header-user-link .iconfont {
	font-size: 1.5rem;
}
#g-menustate:checked + #g-nav .g-header-menu-link {
	color: #ff6633;
}
/* 面包导航 */
#g-menustate {
	display: none;
}
.g-menuicon-label {
	font-size: 1rem;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 48px;/*增大点击区域*/
	height: 48px;/*高度可以增大，为了防止误触，需要单独设置覆盖此规则*/
	line-height: 48px;
	z-index: 20;
	cursor: pointer;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}
/* 导航菜单 */
.g-nav-list {
	width: 100%;
	height: 100%;
	position:absolute;
	z-index: 200;
	top: 45px;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0 28px;
	height: auto;
	box-sizing: border-box;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	visibility: hidden;
	-webkit-transition: background 0.35s linear 0.25s, height 0.35s linear;
	transition: background 0.35s linear 0.25s, height 0.35s linear;
}
#g-menustate:checked + #g-nav .g-nav-list,
#g-menustate:target + #g-nav .g-nav-list {
	background: rgba(255, 255, 255, 0.9);
	visibility: visible;
	-webkit-transition-delay: 0s;
	transition-delay: 0s
}
.g-nav-list .beta {
	display: block;
	position: absolute;
	width: 36px;
	height: 16px;
	line-height: 16px;
	border-radius: 5px;
	top: 70%;
	margin-top: -20px;
	left: 17%;
	margin-left: 38px;
	font-size: 12px;
	text-align: center;
	font-style: normal;
	color: #fff;
	background: #ff6633;
}
.g-nav-list-item {
	display: inline-block;
	position: relative;
	width: 100%;
	font-size: 1.1rem;
	text-decoration: none;
}
.g-nav-list-item:hover {
	text-decoration: none;
}
.g-nav-list-item:visited {
	color: #333;
}
.g-nav-list-menu {
	margin-bottom: 10px;
	padding: 20px 0 5px 0;
	border-bottom: 1px solid #ccc;
	color: #333;
	opacity: 0;
	pointer-events: none;
	-webkit-transform: scale(1.1) translateY(-24px);
	-ms-transform: scale(1.1) translateY(-24px);
	transform: scale(1.1) translateY(-24px);
	-webkit-transition: opacity 0.35s ease-out, -webkit-transform 0.35s ease-out;
	transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.g-nav-list-menu.on {
	color: #ff6633;
}
.g-nav-list-menu:nth-child(1) {
	padding-top: 0px;
	margin-top: 20px;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu,
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu {
	opacity: 1;
	pointer-events: auto;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none
}
.g-nav-list-menu:nth-child(1) {
	-webkit-transition-delay: 350ms,350ms;
	transition-delay: 350ms,350ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(1),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(1) {
	-webkit-transition-delay: 0ms,0ms;
	transition-delay: 0ms,0ms
}
.g-nav-list-menu:nth-child(2) {
	-webkit-transition-delay: 300ms,300ms;
	transition-delay: 300ms,300ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(2),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(2) {
	-webkit-transition-delay: 50ms,50ms;
	transition-delay: 50ms,50ms;
}
.g-nav-list-menu:nth-child(3) {
	-webkit-transition-delay: 250ms,250ms;
	transition-delay: 250ms,250ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(3),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(3) {
	-webkit-transition-delay: 100ms,100ms;
	transition-delay: 100ms,100ms;
}
.g-nav-list-menu:nth-child(4) {
	-webkit-transition-delay: 200ms,200ms;
	transition-delay: 200ms,200ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(4),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(4) {
	-webkit-transition-delay: 150ms,150ms;
	transition-delay: 150ms,150ms;
}
.g-nav-list-menu:nth-child(5) {
	-webkit-transition-delay: 150ms,150ms;
	transition-delay: 150ms,150ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(5),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(5) {
	-webkit-transition-delay: 200ms,200ms;
	transition-delay: 200ms,200ms;
}
.g-nav-list-menu:nth-child(6) {
	-webkit-transition-delay: 100ms,100ms;
	transition-delay: 100ms,100ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(6),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(6) {
	-webkit-transition-delay: 250ms,250ms;
	transition-delay: 250ms,250ms;
}
.g-nav-list-menu:nth-child(7) {
	-webkit-transition-delay: 50ms,50ms;
	transition-delay: 50ms,50ms;
}
#g-menustate:checked + #g-nav .g-nav-list .g-nav-list-menu:nth-child(7),
#g-menustate:target + #g-nav .g-nav-list .g-nav-list-menu:nth-child(7) {
	-webkit-transition-delay: 300ms,300ms;
	transition-delay: 300ms,300ms;
}